GuzzleHttp\Cookie\SetCookie A

Total Complexity 60
Dependencies 1
Dependents 10
Total lines 398
Lines of code 156
Logical lines of code 75
Comment lines 158
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
fromString()
A
50 8 27
validate()
A
54 8 23
__toString()
S
58 8 13
matchesPath()
S
60 5 13
__construct()
S
65 5 8
matchesDomain()
S
62 4 10
setExpires()
S
72 2 5
isExpired()
S
79 2 3
setHttpOnly()
S
80 1 3
getHttpOnly()
S
80 1 3
setDiscard()
S
80 1 3
getDiscard()
S
80 1 3
setSecure()
S
80 1 3
getSecure()
S
80 1 3
getExpires()
S
80 1 3
toArray()
S
82 1 3
getMaxAge()
S
80 1 3
setPath()
S
80 1 3
getPath()
S
80 1 3
setDomain()
S
80 1 3
getDomain()
S
80 1 3
setValue()
S
80 1 3
getValue()
S
80 1 3
setName()
S
80 1 3
getName()
S
80 1 3
setMaxAge()
S
80 1 3